package com.shuma.shopmanage.usermoudle.mapper;




import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.shuma.shopmanage.model.user.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper extends BaseMapper<UserInfo> {
    @Select("select id from user where username = #{username}")
    public Long getIdByName(@Param("username")String userName);
}
